import React from 'react';
import { Newspaper } from 'lucide-react';

const EmptyState = ({  message = '没有数据' }) => {
  return (
    <div className="p-10 flex-1 flex flex-col items-center justify-center text-center">
      <div className="flex flex-col items-center justify-center">
        <Newspaper className="h-8 w-8 text-gray-400 mb-2" />
        <span className="text-xs font-medium text-gray-500 mt-2">{message}</span>
      </div>
    </div>
  )
}

export default EmptyState